<?php
/* @var $this AppointmentController */
/* @var $data Appointment */
?>

<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('service')); ?>:</b>
	 <?php echo CHtml::link(CHtml::encode($data->service0->name), array('service/view', 'id'=>$data->service0->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('date_time_appt')); ?>:</b>
	<?php echo CHtml::encode($data->date_time_appt); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('personnel')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->personnel0->first_name), array('personnel/view', 'id'=>$data->personnel0->id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('total_amount')); ?>:</b>
	<?php echo CHtml::encode($data->total_amount); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('date_time_created')); ?>:</b>
	<?php echo CHtml::encode($data->date_time_created); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('customer')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->customer0->firstname." ".$data->customer0->lastname), array('user/user/view', 'id'=>$data->customer0->user_id)); ?>
	<br />


</div>